package com.caiyigo.baihua.model;

import org.sageras.util.ExcelUtil.ExcelCell;

public class Kaoshizw {

    private Integer ksId;

    private String addtime;

	@ExcelCell(index = 11, exportName = "答题卡")
    private String datika;

	@ExcelCell(index = 12, exportName = "地址")
    private String dizhi;

	@ExcelCell(index = 13, exportName = "是否发送")
    private String isSend;

	@ExcelCell(index = 8, exportName = "考场")
    private String kaochang;

	@ExcelCell(index = 6, exportName = "科目")
    private String kemu;

	@ExcelCell(index = 5, exportName = "批次")
    private String pici;

	@ExcelCell(index = 7, exportName = "时间")
    private String shijian;

	@ExcelCell(index = 9, exportName = "试室")
    private String shishi;

	@ExcelCell(index = 14, exportName = "发送原因")
    private String isSendReason;

	@ExcelCell(index = 10, exportName = "座位号")
    private String zuoweihao;

    
    private Integer xsid;

   
    public Integer getKsId() {
        return ksId;
    }

   
    public void setKsId(Integer ksId) {
        this.ksId = ksId;
    }

   
    public String getAddtime() {
        return addtime;
    }

   
    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

   
    public String getDatika() {
        return datika;
    }

   
    public void setDatika(String datika) {
        this.datika = datika;
    }

   
    public String getDizhi() {
        return dizhi;
    }

  
    public void setDizhi(String dizhi) {
        this.dizhi = dizhi;
    }

	/**
	 * This method was generated by MyBatis Generator. This method returns the
	 * value of the database column kaoshizw.isSend
	 *
	 * @return the value of kaoshizw.isSend
	 *
	 * @mbggenerated Sat Nov 22 12:31:14 CST 2014
	 */
	public String getIsSend() {
		return isSend;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the
	 * value of the database column kaoshizw.isSend
	 *
	 * @param isSend
	 *            the value for kaoshizw.isSend
	 *
	 * @mbggenerated Sat Nov 22 12:31:14 CST 2014
	 */
	public void setIsSend(String isSend) {
		this.isSend = isSend;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kaoshizw.Kaochang
     *
     * @return the value of kaoshizw.Kaochang
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public String getKaochang() {
        return kaochang;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kaoshizw.Kaochang
     *
     * @param kaochang the value for kaoshizw.Kaochang
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public void setKaochang(String kaochang) {
        this.kaochang = kaochang;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kaoshizw.Kemu
     *
     * @return the value of kaoshizw.Kemu
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public String getKemu() {
        return kemu;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kaoshizw.Kemu
     *
     * @param kemu the value for kaoshizw.Kemu
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public void setKemu(String kemu) {
        this.kemu = kemu;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kaoshizw.pici
     *
     * @return the value of kaoshizw.pici
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public String getPici() {
        return pici;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kaoshizw.pici
     *
     * @param pici the value for kaoshizw.pici
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public void setPici(String pici) {
        this.pici = pici;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kaoshizw.Shijian
     *
     * @return the value of kaoshizw.Shijian
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public String getShijian() {
        return shijian;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kaoshizw.Shijian
     *
     * @param shijian the value for kaoshizw.Shijian
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public void setShijian(String shijian) {
        this.shijian = shijian;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kaoshizw.Shishi
     *
     * @return the value of kaoshizw.Shishi
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public String getShishi() {
        return shishi;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kaoshizw.Shishi
     *
     * @param shishi the value for kaoshizw.Shishi
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public void setShishi(String shishi) {
        this.shishi = shishi;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kaoshizw.isSendReason
     *
     * @return the value of kaoshizw.isSendReason
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public String getIsSendReason() {
        return isSendReason;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kaoshizw.isSendReason
     *
     * @param isSendReason the value for kaoshizw.isSendReason
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public void setIsSendReason(String isSendReason) {
        this.isSendReason = isSendReason;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kaoshizw.zuoweihao
     *
     * @return the value of kaoshizw.zuoweihao
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public String getZuoweihao() {
        return zuoweihao;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kaoshizw.zuoweihao
     *
     * @param zuoweihao the value for kaoshizw.zuoweihao
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public void setZuoweihao(String zuoweihao) {
        this.zuoweihao = zuoweihao;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column kaoshizw.xsid
     *
     * @return the value of kaoshizw.xsid
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public Integer getXsid() {
        return xsid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column kaoshizw.xsid
     *
     * @param xsid the value for kaoshizw.xsid
     *
     * @mbggenerated Sat Nov 22 12:31:14 CST 2014
     */
    public void setXsid(Integer xsid) {
        this.xsid = xsid;
    }

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((kemu == null) ? 0 : kemu.hashCode());
		result = prime * result + ((pici == null) ? 0 : pici.hashCode());
		result = prime * result + ((xsid == null) ? 0 : xsid.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Kaoshizw other = (Kaoshizw) obj;
		if (kemu == null) {
			if (other.kemu != null)
				return false;
		} else if (!kemu.equals(other.kemu))
			return false;
		if (pici == null) {
			if (other.pici != null)
				return false;
		} else if (!pici.equals(other.pici))
			return false;
		if (xsid == null) {
			if (other.xsid != null)
				return false;
		} else if (!xsid.equals(other.xsid))
			return false;
		return true;
	}


	@Override
	public String toString() {
		return "Kaoshizw [ksId=" + ksId + ", addtime=" + addtime + ", datika="
				+ datika + ", dizhi=" + dizhi + ", isSend=" + isSend
				+ ", kaochang=" + kaochang + ", kemu=" + kemu + ", pici="
				+ pici + ", shijian=" + shijian + ", shishi=" + shishi
				+ ", isSendReason=" + isSendReason + ", zuoweihao=" + zuoweihao
				+ ", xsid=" + xsid + "]";
	}

	public Kaoshizw(){}
	public Kaoshizw(String isSend, String pici, String isSendReason,
			Integer xsid) {
		super();
		this.isSend = isSend;
		this.pici = pici;
		this.isSendReason = isSendReason;
		this.xsid = xsid;
	}
	
}